package com.yunsc.order.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.order.entity.YunscOrderEntity;
import com.yunsc.order.entity.YunscOrderRefundEntity;
import com.yunsc.order.entity.YunscOrderRefundImageEntity;
import com.yunsc.store.entity.YunscUserEntity;
import com.yunsc.store.vo.StoreAddressVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-05-02 22:34
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderRefundVO extends YunscOrderRefundEntity {
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String stateText;

    @JsonProperty("orderData")
    private YunscOrderEntity orderData;

    @JsonProperty("orderGoods")
    private OrderGoodsVO orderGoods;

    private YunscUserEntity user;

    private String orderNo;

    private List<YunscOrderRefundImageEntity> images;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private StoreAddressVO address;

}
